{% extends "paster_main.html" %}
{% load url from future %}

{% block paster_content %}
		<div class="paster_paste">
			<form method="POST" action="">
				<div class="input_container">
					{{ paste.title }}
				</div>
	
				<div class="input_container">
					{{ paste.data }}
				</div>
		
				{% csrf_token %}
	
				<div class="input_right">
					{{ paste.private }} Private
				</div>
				
				<div class="input_left">			
				{% if paste_key and edit_key %}
					<input type="submit" value="Update" />
					<a href = "{% url "modules.paster.views.index" %}{{ paste_key }}">Public URL</a>
					<a href = "{% url "modules.paster.views.index" %}edit/{{ paste_key }}/{{ edit_key }}">Edit URL</a>
				{% else %}
					<input type="submit" value="Create" />
				{% endif %}
				</div>
				<br class="clearfix" />				

			</form>
		</div>
{% endblock %}